package com.my.domain.vo;

import com.my.domain.entity.Announcement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * package:
 * author:
 * date:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class DashBoardVO implements Serializable {
    private static final long serialVersionUID = 1L;
    //主键@TableId
    private Long id;
    //用户名
    private String userName;
    //用户类型：0代表普通用户，1代表管理员
    private String type;

    private Date lastLogintime;

    //系统访问量
    private Long systematicNum;

    //业主总人数
    private Long peopleNum;

    //公告总数
    private Long accountNum;
    private List<Announcement> announcements;
}
